package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 区划管理对象 sys_region
 * 
 * @author ruoyi
 * @date 2023-07-04
 */
public class SysRegion  {
    private static final long serialVersionUID = 1L;

    /** 区划代码 */
    @Excel(name = "区划代码")
    @TableId
    private String bh;

    /** 父区划代码 */
    @Excel(name = "父区划代码")
    private String pbh;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 全称 */
    @Excel(name = "全称")
    private String fullname;

    public void setBh(String bh) 
    {
        this.bh = bh;
    }

    public String getBh() 
    {
        return bh;
    }
    public void setPbh(String pbh) 
    {
        this.pbh = pbh;
    }

    public String getPbh() 
    {
        return pbh;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFullname(String fullname) 
    {
        this.fullname = fullname;
    }

    public String getFullname() 
    {
        return fullname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bh", getBh())
            .append("pbh", getPbh())
            .append("name", getName())
            .append("fullname", getFullname())
            .toString();
    }
}
